package com.csun.cmny.provider.model.vo.csundoor;

import com.csun.cmny.provider.model.vo.device.DmcDeviceVo;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-12 20:37
 * @Description: the class dmc csun button vo
 */
@Data
@ApiModel(value = "紧急按钮")
@EqualsAndHashCode(callSuper = true)
public class DmcCsunDoorVo extends DmcDeviceVo {

    private static final long serialVersionUID = -5553173643999418261L;

    /**
     * 设备绑定类型 0-自定义 1-老人 2-床位
     */
    private Integer bindType;

    /**
     * 设备绑定位置
     */
    private String location;

    /**
     * 老人Id
     */
    private Integer oldmanId;

    /**
     * 老人姓名
     */
    private String oldmanName;

    /**
     * 床位Id
     */
    private Integer bedId;

    /**
     * 房间Id
     */
    private Integer roomId;

    /**
     * 是否绑定 true - 绑定 false - 未绑定
     */
    private boolean bind = false;

}
